package com.wang.packpojo;

import lombok.Data;

@Data
public class ResultStatus<T> {

    private Integer status;

    private String result;


    private String msg;

    private T data;


    public ResultStatus() {
    }

    public ResultStatus(Integer status, String result, String msg, T data) {
        this.status = status;
        this.result = result;
        this.msg = msg;
        this.data = data;
    }

    public ResultStatus(String result, String msg, T data) {
        this.result = result;
        this.msg = msg;
        this.data = data;
    }

    public ResultStatus(String result, String msg) {
        this.result = result;
        this.msg = msg;
    }
}
